# -*- coding: utf-8; mode: snippet -*-
# name: ReactJS package.json (IE9 friendly)
# key: main
# contributor: Chen Bin <chenbin DOT sh AT gmail>
# --
{
  "name": "${1:react-project}",
  "version": "1.0.0",
  "description": "$0",
  "scripts": {
    "start": "webpack-dev-server --content-base frontend-dist/ --port 3333 --host 0.0.0.0",
    "build": "cross-env NODE_ENV=production webpack --display-error-details",
    "devbuild": "cross-env NODE_ENV=development webpack",
    "clean": "rimraf src/main/resources/static/js/* src/main/resources/static/fonts/* src/main/resources/static/css/* src/main/resources/static/index.html",
    "analyze": "cross-env NODE_ENV=production webpack --profile --json | webpack-bundle-size-analyzer",
    "postinstall": "npm run clean && npm run build"
  },
  "author": "Chen Bin <chenbin.sh AT gmail DOT com>",
  "license": "GPL",
  "dependencies": {
    "babel-runtime": "6.20.0",
    "bootstrap": "3.3.7",
    "font-awesome": "4.7.0",
    "immutability-helper": "2.1.1",
    "moment": "2.16.0",
    "react": "15.4.2",
    "react-bootstrap": "0.30.7",
    "react-datetime": "2.7.5",
    "react-dnd": "2.1.4",
    "react-dom": "15.4.2",
    "react-redux": "4.4.6",
    "react-redux-form": "1.5.3",
    "react-router": "2.4.1",
    "react-router-bootstrap": "0.23.1",
    "react-router-redux": "4.0.7",
    "searchtabular": "1.3.2",
    "selectabular": "2.0.1",
    "sortabular": "1.2.0",
    "table-resolver": "2.0.3",
    "treetabular": "2.1.0",
    "reactabular-column-extensions": "8.7.1",
    "reactabular-dnd": "8.6.0",
    "reactabular-resizable": "8.6.0",
    "reactabular-sticky": "8.6.0",
    "reactabular-table": "8.6.0",
    "reactabular-virtualized": "8.7.0",
    "redux": "3.6.0",
    "redux-thunk": "2.1.0",
    "sanitize-html": "1.11.4",
    "whatwg-fetch": "0.11.1"
  },
  "devDependencies": {
    "autoprefixer": "^6.5.3",
    "ava": "^0.15.2",
    "babel-core": "^6.18.0",
    "babel-loader": "^6.2.5",
    "babel-plugin-lodash": "^3.2.11",
    "babel-plugin-transform-object-rest-spread": "^6.19.0",
    "babel-plugin-transform-runtime": "^6.15.0",
    "babel-preset-es2015": "^6.18.0",
    "babel-preset-react": "^6.16.0",
    "chai": "^3.5.0",
    "mocha": "^3.2.0",
    "copy-webpack-plugin": "^4.0.1",
    "cross-env": "^3.1.3",
    "css-loader": "^0.23.1",
    "enzyme": "^2.3.0",
    "es5-shim": "^4.5.9",
    "file-loader": "^0.8.5",
    "fontgen-loader": "^0.2.1",
    "html-webpack-plugin": "^2.24.1",
    "jsdom": "^9.2.1",
    "json-loader": "^0.5.4",
    "lodash-webpack-plugin": "^0.10.6",
    "postcss": "^5.2.5",
    "postcss-calc": "^5.3.1",
    "postcss-import": "^8.2.0",
    "postcss-loader": "^1.1.1",
    "postcss-nested": "^1.0.0",
    "postcss-simple-vars": "^3.0.0",
    "redux-ava": "^2.0.0",
    "rimraf": "^2.5.2",
    "style-loader": "^0.13.1",
    "webpack": "^1.13.3",
    "webpack-bundle-size-analyzer": "^2.2.0",
    "webpack-dev-server": "^1.16.2"
  },
  "engines": {
    "node": ">=6"
  },
  "ava": {
    "files": [
      "frontend/**/*.spec.js"
    ],
    "source": [
      "frontend/**/*.js"
    ],
    "failFast": true,
    "babel": "inherit"
  }
}